using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 人员字典
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 人员字典
    /// </summary>
    [SugarTable("sys_user", TableDescription = "人员字典")]
    public class SysUser
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ID")]
        public int? ID{ get; set; }
        
        /// <summary>
        /// 用户代码
        /// </summary>
        [SugarColumn(ColumnName = "Code")]
        public string? Code{ get; set; }
        
        /// <summary>
        /// 姓名
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string? Name{ get; set; }
        
        /// <summary>
        /// 职位
        /// </summary>
        [SugarColumn(ColumnName = "Job")]
        public string? Job{ get; set; }
        
        /// <summary>
        /// 密码
        /// </summary>
        [SugarColumn(ColumnName = "Password")]
        public string? Password{ get; set; }
        
        /// <summary>
        /// 性别
        /// </summary>
        [SugarColumn(ColumnName = "Sex")]
        public string? Sex{ get; set; }
        
        /// <summary>
        /// 启用状态
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public int? Status{ get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "DeptCode")]
        public string? DeptCode{ get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Mome")]
        public string? Mome{ get; set; }
        
        /// <summary>
        /// 角色编号
        /// </summary>
        [SugarColumn(ColumnName = "RoleCode")]
        public string? RoleCode{ get; set; }

        /// <summary>
        /// 角色编号
        /// </summary>
        [SugarColumn(ColumnName = "doctorPhone")]
        public string? doctorPhone { get; set; }
        public string? DiseaseAuth { get; set; }

    }
}